Skip to main content

All DEXes

Queries a paginated list of all DEXes supported by the Euclid Protocol. Each DEX includes chain ID, name, logo, and styling metadata.

query Token($limit: Int, $offset: Int) {
token {
all_dexes(limit: $limit, offset: $offset) {
bg_color
logo
dex_name
fg_color
chain_uid
display_name
}
}
}

Example

curl --request POST \
--header 'content-type: application/json' \
--url 'https://testnet.api.euclidprotocol.com/graphql' \
--data '{"query":"query Token($limit: Int, $offset: Int) {\n token {\n all_dexes(limit: $limit, offset: $offset) {\n bg_color\n logo\n dex_name\n fg_color\n chain_uid\n display_name\n }\n }\n}","variables":{"limit":null,"offset":null}}'

Open in Playground

Arguments

ArgumentTypeDescription
limitIntOptional maximum number of results to return.
offsetIntOptional number of results to skip (for pagination).

Return Fields

FieldTypeDescription
bg_colorStringBackground color (for UI rendering).
fg_colorStringForeground color (for UI rendering).
logoStringImage URL for the DEX's logo.
dex_nameStringInternal identifier for the DEX.
chain_uidStringThe chain ID the DEX is deployed on.
display_nameStringHuman-readable name of the DEX.